package com.xr.core.system.mapper;

import com.xr.core.system.common.base.MyBaseMapper;
import com.xr.core.system.common.base.MyPage;
import com.xr.core.system.entity.dictionaryModule.Dictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典表 (Dictionary)表数据库访问层
 */
public interface DictionaryMapper extends MyBaseMapper<Dictionary> {

    List<Dictionary> listDicByParentCode(String code);

    /**
     * @param page
     * @return
     */
    MyPage<Dictionary> queryByPage(@Param("page") MyPage<Dictionary> page, @Param("dictionary") Dictionary dictionary);

}

